/**
 * 右侧导航
 */
define(function (require, exports, module) {
    var $ = require("jquery");
    var NavManager = require('plugins/navManager.js');

    return {
        init: function () {
            new NavManager($('#nav'), [


                {
                    "id": "menu_home",
                    "code": "000026",
                    "name": "首页",
                    "level": 1,
                    "iconCls": "icon-public",
                    "url": ["/index.shtml", '/', ''],
                    "children": null
                },
                {
                    "id": "user_management",
                    "code": "",
                    "name": "用户管理",
                    "level": 1,
                    "iconCls": "icon-customer",
                    "url": "",
                    "children": [
                        {
                            "id": "role_authorization",
                            "code": "0000210201",
                            "name": "角色授权设置",
                            "level": 2,
                            "url": ["/page/user_management/role_authorization_qmyx.shtml"]
                        },
                        {
                            "id": "org_management",
                            "code": "0000210202",
                            "name": "组织用户管理",
                            "level": 2,
                            "url": ["/page/user_management/org_management_qmyx.shtml"]
                        }
                    ]
                },
                {
                    "id": "menu_project",
                    "code": "00002001",
                    "name": "项目管理",
                    "level": 1,
                    "iconCls": "icon-project",
                    "url": ["/index.shtml?type=project"],
                    "children": null
                },
                {
                    "id": "message_records",
                    "code": "00002501",
                    "name": "短信记录",
                    "level": 1,
                    "iconCls": "icon-message",
                    "url": ["/page/message_management/message_records.shtml"],
                    "children": null
                }
            ])
        }
    }
});
